<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form}" showPerson psTagType="PERSON_PENSION_QUERY"
                         personType="PERSON_ALL_EXACT">
            </epl-top-bar>
            <epl-userMessage dataType="person" idCount="3" :panel="panel">
                <template slot-scope="scope">
                    <epl-userMessageItem title="当前待遇" :sum="form.sum.value" :isBottom='false'>
                    </epl-userMessageItem>
                </template>
            </epl-userMessage>
            <el-card class="ep-card">
                <el-form :model="form" ref="form" :rules="rules">
                    <ep-title>原移交信息</ep-title>
                        <el-row :gutter="10">
                            <ep-select colspan="8" label="移交至行政区划" name="aab301" :property="form.aab301" codetype="AAB301"
                                p="D"  :datas="{formData:form}" ></ep-select>
                            <ep-select colspan="8" label="移交至统筹区" name="aaa027" :property="form.aaa027" codetype="AAA027" 
                                p="D"  :datas="{formData:form}"></ep-select>
                            <ep-date colspan="8" label="移交日期" name="aae035_old" :property="form.aae035_old" 
                                p="D" format="yyyy-MM-dd" value-format="yyyyMMdd" :datas="{formData:form}" ></ep-date>
                        </el-row>
                        <el-row :gutter="10">
                            <ep-textarea :rows="3" colspan="24" label="备注" name="aae013_old" :property="form.aae013_old" 
                                p="D" :datas="{formData:form}"></ep-textarea>
                        </el-row>
                    <ep-title>请输入变更信息</ep-title>
                        <el-row :gutter="10">
                            <ep-date colspan="8" label="变更时间" name="aae035" :property="form.aae035" placeholder="请选择变更时间" 
                                p="R,D" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                            <ep-select colspan="8" label="变更原因" name="aae160" :property="form.aae160" codetype="AAE160" placeholder="请选择变更原因"
                                p="R" SelectFilterData=" aaa102 in ('6900','9101','9199') "></ep-select>
                            <ep-input colspan="8" label="当前企业养老待遇" label-width="0" name="sum" :property="form.sum" 
                                p="H" :datas="{formData:form}"></ep-input>
                        </el-row>
                        <el-row :gutter="10">
                            <ep-textarea :rows="3" colspan="24" label="备注" name="aae013" :property="form.aae013" placeholder="请输入备注信息" 
                                p="E" :datas="{formData:form}"></ep-textarea>
                        </el-row>
                        
                        <el-row type="flex" justify="center">
                            <ep-saveButton id="doSave" type="primary" top="20"  bottom="20" ref="save" @formValidate="formValidate" :validate="['form']"
                                :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                        </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/TransferenceReduceJS.js"></script>
